<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>UMD</title>
  </head>
  <body>
    <h1>测试UMD模块在各种环境的运行</h1>
    <h2></h2>
    <p id="content"></p>
    <!-- 没有模块环境 -->
    <script src="./umdModule.js"></script>
    <script src="./global.js"></script>

    <!-- AMD -->
    <!-- <script src="https://cdn.bootcdn.net/ajax/libs/require.js/2.3.6/require.min.js"></script>
    <script src="./umdModule.js"></script>
    <script src="./amd.js"></script> -->

    <!-- CommonJS -->
    <!-- node环境 命令执行 node node.js -->

    <!-- CMD -->
    <!-- <script src="https://cdn.bootcdn.net/ajax/libs/seajs/3.0.3/sea.js"></script>
    <script src="./umdModule.js"></script>
    <script>
      seajs.use("./cmd.js");
    </script> -->
  </body>
</html>
